package com.itheima.day03Homework;

public class ForForDemo {
    public static void main(String[] args) throws InterruptedException {

        while (true) {
            // 外层循环走一步
            for (int hour = 0; hour < 24; hour++) {
                // 内层循环跑一圈
                for (int minute = 0; minute < 60; minute++) {
                    for (int second = 0; second < 60; second++) {
                        System.out.println(hour + "时," + minute + "分," + second + "秒");
                        Thread.sleep(1000);
                    }
                }

            }
        }

    }
}
